package com.wnxy.sddfp.system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.wnxy.sddfp.system.mapper")
@ComponentScan(
        value={
                "com.wnxy.sddfp.system",
                "com.wnxy.sddfp.common",
                "com.wnxy.sddfp.api.bank.fallback", //扫描fallback 中的组件
        }
)
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }
}